Average sentence length |
---|
22.8568 |
sentence length | percentage |
---|---|
3 | 0.1400 |
4 | 0.7600 |
5 | 1.2900 |
6 | 1.5100 |
7 | 1.7900 |
8 | 2.1700 |
9 | 2.3200 |
10 | 2.4300 |
11 | 2.6400 |
12 | 2.6000 |
13 | 3.2300 |
14 | 3.0100 |
15 | 3.3000 |
16 | 3.5900 |
17 | 3.1300 |
18 | 3.1900 |
19 | 3.7400 |
20 | 2.8800 |
21 | 3.1600 |
22 | 3.1500 |
23 | 3.0100 |
24 | 3.0400 |
25 | 3.2200 |
26 | 3.1500 |
27 | 3.1700 |
28 | 3.0500 |
29 | 2.9800 |
30 | 2.9800 |
31 | 2.6800 |
32 | 2.8200 |
33 | 2.6100 |
34 | 2.3700 |
35 | 2.2400 |
36 | 2.2500 |
37 | 2.1000 |
38 | 1.6900 |
39 | 1.5900 |
40 | 1.4500 |
41 | 1.1000 |
42 | 0.8200 |
43 | 0.6300 |
44 | 0.4200 |
45 | 0.3000 |
46 | 0.1600 |
47 | 0.1000 |
48 | 0.0200 |
49 | 0.0100 |
50 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters